package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.TestDao;
import com.example.domain.Test;
import com.example.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class TestServiceImpl extends ServiceImpl<TestDao, Test> implements TestService {
    /**
     * 查询全部
     * @return
     */
    @Override
    public List<HashMap<String, Object>> selectAll() {
        return baseMapper.selectAll();
    }
}
